package com.tonglin.red.service;

import com.tonglin.red.entity.vo.RedPacketDto;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;


public interface IRedPacketService {
    //发红包核心业务逻辑实现
    String  handOut(RedPacketDto dto) throws Exception;
    //抢红包
    BigDecimal rob(Integer userId,String redId) throws Exception;
}
